<template>
  <!-- 弹框 -->
  <el-dialog
    title="新增部门"
    :visible="addVisible"
    width="30%"
  >
    <template #default>
      <el-form label-width="120px">
        <el-form-item label="部门名称">
          <el-input style="width:80%" placeholder="1-50个字符" />
        </el-form-item>
        <el-form-item label="部门编码">
          <el-input style="width:80%" placeholder="1-50个字符" />
        </el-form-item>
        <el-form-item label="部门负责人">
          <el-select style="width:80%" placeholder="请选择" />
        </el-form-item>
        <el-form-item label="部门介绍">
          <el-input style="width:80%" placeholder="1-300个字符" type="textarea" />
        </el-form-item>
      </el-form>
    </template>
    <span slot="footer" class="dialog-footer">
      <el-button @click="showdialog = false">取 消</el-button>
      <el-button type="primary" @click="showdialog= false">确 定</el-button>
    </span>
  </el-dialog>
</template>
<script>

export default ({
  props: {
    showdialog: {
      type: Boolean
    }
  }
})
</script>

